package com.wr.recruit.service.service;

import com.wr.recruit.service.dao.dbo.MessageDbo;
import org.springframework.data.domain.Page;

public interface MessageService {

    MessageDbo createMessage(MessageDbo messageDbo);

    MessageDbo updateMessage(MessageDbo messageDbo);

    Boolean deleteMessage(String userName, Integer messageId);

    Page<MessageDbo> getMessageList(Double salaryMin, Double salaryMax,
                                    String companyCode, Integer pageSize, Integer pageNum);

    MessageDbo getMessage(Integer messageId);
}
